package org.jeecg.modules.tt_question_collect.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;


import java.util.List;
import java.util.Map;

import org.jeecg.modules.system.entity.SysAnnouncement;

import com.baomidou.mybatisplus.extension.service.IService;
import kong.unirest.JsonNode;

import org.jeecg.modules.tt_question_collect.entity.TtQuestionCollect;
import org.jeecg.modules.tt_question_collect.entity.TtQuestionDealRecord;
import org.jeecg.modules.tt_question_collect.entity.tspmodel;

/**
 * @Description: 问题收集表
 * @Author: jeecg-boot
 * @Date:   2021-01-29
 * @Version: V1.0
 */
public interface ITtQuestionCollectService extends IService<TtQuestionCollect> {

    public Page<TtQuestionCollect> queryquestioncl(Page<TtQuestionCollect> page,TtQuestionCollect ttQuestionCollect);

    public Page<tspmodel> queryquestionsp(Page<tspmodel> page,tspmodel tspmodel);

	public TtQuestionDealRecord querybyquestioncode(String questioncode);


	public List<Map<String,Object>> querydetp(String id);

	public String querysplcid(String bmid,String lclx);

    public void setJiraIdOrKey(String id, JsonNode body);
    void setStatusByJiraIdOrKey(String id, JsonNode body);

    public Page<TtQuestionCollect> queryquestionlist(Page<TtQuestionCollect> page,TtQuestionCollect ttQuestionCollect);

	public void updatescbjById(String id);


    String cxxl();

    List<Map<String,Object>> getuserrole(String userid);

    List<Map<String, Object>> queryupdatejira();

    List<Map<String, Object>> getjiratblist();

    String queryuserdspcount(String id);

}

